var c = Object.defineProperty;
var m = (t, e, a) => e in t ? c(t, e, {
  enumerable: !0,
  configurable: !0,
  writable: !0,
  value: a
}) : t[e] = a;
var n = (t, e, a) => (m(t, typeof e != "symbol" ? e + "" : e, a),
  a);
import { V as v, ao as u, db as f, aq as d, dc as _, an as g, ap as h, C as b, n as x } from "./index-9e4bc268.js";
var w = Object.defineProperty
  , C = Object.getOwnPropertyDescriptor
  , L = (t, e, a, o) => {
    for (var s = o > 1 ? void 0 : o ? C(e, a) : e, i = t.length - 1, l; i >= 0; i--)
      (l = t[i]) && (s = (o ? l(e, a, s) : l(s)) || s);
    return o && s && w(e, a, s),
      s
  }
  ;
let r = class extends v {
  constructor() {
    super(...arguments);
    n(this, "themeList", u.map(e => ({
      value: e,
      label: f.get(e)
    })));
    n(this, "variantList", d.map(e => ({
      value: e,
      label: _.get(e)
    })));
    n(this, "options", {
      theme: g,
      variant: h,
      loading: !0
    })
  }
}
  ;
r = L([b], r);
var $ = function () {
  var t = this
    , e = t.$createElement
    , a = t._self._c || e;
  return a("s-form", {
    attrs: {
      "label-width": "8em",
      colon: "："
    }
  }, [a("s-form-item", {
    attrs: {
      label: "动画类型"
    }
  }, [a("s-radio-group", {
    attrs: {
      options: t.themeList
    },
    model: {
      value: t.options.theme,
      callback: function (o) {
        t.$set(t.options, "theme", o)
      },
      expression: "options.theme"
    }
  })], 1), a("s-form-item", {
    attrs: {
      label: "动画变体"
    }
  }, [a("s-radio-group", {
    attrs: {
      options: t.variantList
    },
    model: {
      value: t.options.variant,
      callback: function (o) {
        t.$set(t.options, "variant", o)
      },
      expression: "options.variant"
    }
  })], 1), a("s-form-item", {
    attrs: {
      label: " 是否显示"
    }
  }, [a("s-switch", {
    model: {
      value: t.options.loading,
      callback: function (o) {
        t.$set(t.options, "loading", o)
      },
      expression: "options.loading"
    }
  })], 1), a("s-form-item", {
    attrs: {
      label: "显示区域"
    }
  }, [a("s-flex", {
    staticClass: "loading-container",
    style: {
      width: "50vw",
      height: "50vh",
      backgroundColor: "aliceblue",
      position: "relative"
    },
    attrs: {
      "justify-content": "center",
      "align-items": "center"
    }
  }, [a("span", [t._v("加载动画显示区域")]), a("s-loading", {
    attrs: {
      theme: t.options.theme,
      variant: t.options.variant,
      loading: t.options.loading
    }
  })], 1)], 1)], 1)
}
  , j = [];
const p = {};
var O = x(r, $, j, !1, P, null, null, null);
function P(t) {
  for (let e in p)
    this[e] = p[e]
}
const N = function () {
  return O.exports
}();
export { N as default };
